<?php


namespace App\Admin\Controllers;


use App\Admin\Forms\Setting;
use App\Http\Controllers\Controller;
use Encore\Admin\Layout\Content;
use Encore\Admin\Widgets\Tab;

class SettingController extends Controller
{
    public function index(Content $content)
    {
        return $content
            ->title('网站设置')
            ->body(Tab::forms([
                '基础设置' => Setting\Site::class,
                '关于我们' => Setting\About::class,
                '转账设置' => Setting\Offline::class,
            ]));
    }
}
